CURRENT_DIR:=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))

.PHONY: all clean
.DEFAULT_GOAL = all

all:
	cd get_realized_risk && make
	cd run_regressions && make
	cd run_benefit_cost_regressions && make
	cd run_stata_regressions && make
	cd run_stata_dosage_model && make
	cd compute_multiple_hypothesis_adjustment && make
	cd generate_tables_and_figures && make

clean:
	cd get_realized_risk && make clean
	cd run_regressions && make clean
	cd run_benefit_cost_regressions && make clean
	cd run_stata_regressions && make clean
	cd run_stata_dosage_model && make clean
	cd compute_multiple_hypothesis_adjustment && make clean
	cd generate_tables_and_figures && make clean
